package com.travel.entity;
/**
* @Title ScenicFavorite.java
* @Package com.travel.entity
* @Author zengbochao
* @Time 2020年10月29日 下午2:37:59
* @Version 1.0
* @Description: TODO
*/
public class ScenicFavorite {
	private Integer favoriteId;
	private Integer userId;
	private Integer scenicId;
	private User user;
	private Scenic scenic;
	public Integer getFavoriteId() {
		return favoriteId;
	}
	public void setFavoriteId(Integer favoriteId) {
		this.favoriteId = favoriteId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getScenicId() {
		return scenicId;
	}
	public void setScenicId(Integer scenicId) {
		this.scenicId = scenicId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Scenic getScenic() {
		return scenic;
	}
	public void setScenic(Scenic scenic) {
		this.scenic = scenic;
	}
	public ScenicFavorite() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ScenicFavorite(Integer favoriteId, Integer userId, Integer scenicId, User user, Scenic scenic) {
		super();
		this.favoriteId = favoriteId;
		this.userId = userId;
		this.scenicId = scenicId;
		this.user = user;
		this.scenic = scenic;
	}
	
	public ScenicFavorite(Integer favoriteId, Integer userId, Integer scenicId) {
		super();
		this.favoriteId = favoriteId;
		this.userId = userId;
		this.scenicId = scenicId;
	}
	@Override
	public String toString() {
		return "ScenicFavorite [favoriteId=" + favoriteId + ", userId=" + userId + ", scenicId=" + scenicId + ", user="
				+ user + ", scenic=" + scenic + "]";
	}
	
	
	
}
